package org.wutao.supernewsapp;

import android.app.Application;

import cn.jpush.android.api.JPushInterface;

/**
 * Created by 凸显 on 2016/10/24.
 */
public class MainApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        if (BuildConfig.DEBUG){
            JPushInterface.setDebugMode(true);//设置是否是调试模式
        }
        JPushInterface.init(this);//初始化推送


    }
}
